package com.sh.代理模式.静态代理;

import com.sh.代理模式.静态代理.impl.OrderServiceImpl;
import com.sh.代理模式.静态代理.impl.OrderServiceProxy;

/**
 * @Auther: sh
 * @Version 1.0
 * @Description:
 */
public class App {
    public static void main(String[] args) {
        OrderServiceImpl orderService = new OrderServiceImpl();
        OrderServiceProxy orderServiceProxy = new OrderServiceProxy(orderService);
        orderServiceProxy.generate();
        orderServiceProxy.detail();;
        orderServiceProxy.modify();
    }
}

